<ion-view view-title="易融通开户">
    <ion-nav-buttons side="left">
        <back-button></back-button>
    </ion-nav-buttons>
    <ion-content ng-class="{'has-loading': isOffline}">
        <div class="ytf-bg row text-center light"
             ng-show="agreement.state==1">
            <div class="col-33 lineRightRed">
                <i class="button-icon icon ion-nuclear energized"></i>

                <div class="yPoint yPointY"></div>
                <p>风险测评</p>
            </div>
            <div class="col-33 lineRed">
                <i class=" button-icon icon ion-ios-list energized"></i>

                <div class="yPoint yPointY"></div>
                <p>填写征信</p>
            </div>
            <div class="col-33 lineLeftRed">
                <i class=" button-icon icon ion-ios-compose energized"></i>

                <div class="yPoint yPointY"></div>
                <p>签署协议</p>
                <i class="icon ion-arrow-up-b light"></i>
            </div>
        </div>
        <div class="tab clearfix">
            <ul>
                <li ng-click="typeCLick(0)"
                    style="width:50%"
                    ng-class="{'ycurrent':!par.current,'ynormal':par.current}">
                    <em>风险告知书</em>
                </li>
                <li ng-click="typeCLick(1)"
                    style="width:50%"
                    ng-class="{'ycurrent':par.current,'ynormal':!par.current}">
                    <em>交易协议</em>
                </li>
            </ul>
        </div>
        <ion-scroll zooming="true"
                    class="yagreement panel_head light-bg"
                    style="margin-top: 1px">
            <div ng-bind-html="agreement.content"
                 class="Mt5"></div>
        </ion-scroll>
        <div class="btnbox Mt20"
             ng-show="agreement.state==1">
            <a class="btn"
               ng-click="submit()">
                我已阅读并同意协议
            </a>
        </div>
    </ion-content>
</ion-view>